package it.uniroma2.art.owlart.langsearch.search;

import org.apache.lucene.document.Document;

public class RDFSearchResult {

	Document doc;
	float score;
	
	public RDFSearchResult(Document doc, float score) {
		this.doc = doc;
		this.score = score;
	}

	public float getScore() {
		return score;
	}
	
	public String getURI() {
		return doc.get("URI");
	}
	
	public String getLabel(String lang) {
		return doc.get(lang);
	}
	
}
